<template>
  <div class="comment">
    <div class="summarize">
      <div class="summarize-number">0</div>
      <div class="summarize-baseInfo">
        <van-rate v-model="star" count="5" color="#fbca06" readonly size="12" />
        评分
      </div>
    </div>
    <van-empty description="暂无评价" />
  </div>
</template>

<script>
export default {
  name: "myComment",
  data() {
    return {
      star: 4,
    };
  },
};
</script>

<style lang="scss" scoped>
.comment {
  background-color: #f6f6f6;
}
.summarize {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  background-color: #fff;

  .summarize-number {
    font-size: 50px;
    font-weight: 700;
    color: #ffd21e;
    margin: 0 10px;
  }

  .summarize-baseInfo {
    display: flex;
    flex-direction: column;
    height: 50px;
    justify-content: space-around;
    font-size: 12px;
    color: #9d9d9d;
  }
}
</style>
